package io.renren.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class PortraitManageResult implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("请求处理的结果，OK 表示处理成功，FAIL 表示失败")
    @JsonProperty(value = "ActionStatus")
    @JSONField(name = "ActionStatus")
    private String ActionStatus;

    @ApiModelProperty("错误码，0表示成功，非0表示失败")
    @JsonProperty(value = "ErrorCode")
    @JSONField(name = "ErrorCode")
    private Integer ErrorCode;

    @ApiModelProperty("错误信息")
    @JsonProperty(value = "ErrorInfo")
    @JSONField(name = "ErrorInfo")
    private String ErrorInfo;

    @ApiModelProperty("详细的客户端展示信息")
    @JsonProperty(value = "ErrorDisplay")
    @JSONField(name = "ErrorDisplay")
    private String ErrorDisplay;

    @JsonProperty(value = "CurrentStandardSequence")
    @JSONField(name = "CurrentStandardSequence")
    private Integer CurrentStandardSequence;

    @ApiModelProperty("返回的用户资料结构化信息")
    @JsonProperty(value = "UserProfileItem")
    @JSONField(name = "UserProfileItem")
    private List<UserProfileBody> UserProfileItem;

}